﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Data;
using Jb.Common.Extensions;
using Jb.Domain;
using Jb.Web.ViewModels;
using Jb.Web.Utility;
using AutoMapper;
using Jb.Web.ViewModels.UtilityModels;

namespace Jb.Web.Areas.Private.Controllers
{
    [Authorize(Roles = "Company Admin,Company User,Admin")]
    public class PackageController : BaseController
    {
		private JbEntities _Context = new JbEntities();
        
		#region Constructors
		public PackageController()
		{
		}

		public PackageController(UserViewModel currentUser)
			: base(currentUser)
        {
        }
		#endregion Constructors

		#region Action Methods
        public ActionResult Index()
        {
            return View("Status", PackageInfo.GetSubscribedPackage());
        }

		public ActionResult Status()
        {
            return View(PackageInfo.GetSubscribedPackage());
        }
				
		#endregion Action Methods
		
		#region Helper Methods		

        #endregion			
    }
}


